package parser;

/** 综合属性 */
public class SynInfo implements Cloneable {
    public int value;
    public int id;
    public String type;

    public SynInfo() {
        this.value = -1;
        this.id = -1;
    }

    public SynInfo(int value, int id, String type) {
        this.value = value;
        this.id = id;
        this.type = type;
    }

    @Override
    public SynInfo clone() {
        try {
            return (SynInfo) super.clone();
        } catch (Exception e) {
            return new SynInfo(0, 0, "" + type);
        }
    }
}
